<template>
  <div>
    <span @click="personClick">个人</span><br />
    <span @click="companyClick">企业</span>
  </div>
</template>

<script>
import { AddAPPUserType } from "@/util/session";
export default {
  name: "VersionChoice",
  components: {},
  // 定义属性
  data() {
    return {};
  },
  // 方法集合
  methods: {
    personClick() {
      this.$router.replace("person-main");
      AddAPPUserType("P");
    },
    companyClick() {
      this.$router.replace("company-login");
      AddAPPUserType("C");
    },
  },
};
</script>

<style scoped></style>
